/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package workers.statements.beans;

import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 *
 * @author bsmith
 */
public class CCStatementCSV {
    private String date;
    private String amount;
    private String id;
    private String unknown;
    private String type;
    private String merchant;
    private String balance;

    public CCStatementCSV() {
        
    }
    
    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String  getBalance() {
        return balance;
    }

    public void setBalance(String balance) {
        this.balance = balance;
    }

    public String getDate() {
        return this.date;
    }

    public void setDate(String date) throws ParseException {
        this.date = date;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMerchant() {
        return merchant;
    }

    public void setMerchant(String merchant) {
        this.merchant = merchant;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUnknown() {
        return unknown;
    }

    public void setUnknown(String unknown) {
        this.unknown = unknown;
    }
    
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("Date:").append(getDate()).append(", Amount:").append(getAmount()).append(", ID:").append(getId()).append(", Unknown:").append(getUnknown());
        sb.append(", Type:").append(getType()).append(", Merchant:").append(getMerchant()).append(", Balance:").append(getBalance());
                
                return sb.toString();
    }
}
